package com.yeskery.boot.log.record.starter.domain;

import java.io.Serializable;

/**
 * 日志记录实体类
 * @author dushuangjiang
 * @date 2021-11-17 10:06
 */
public class LogRecord implements Serializable {

    private static final long serialVersionUID = -5446093568082188025L;

    /** 日志内容 */
    private String content;

    /** 日志操作人对象 */
    private String operator;

    /** 日志关联的业务对象 */
    private String bizNo;

    /** 日志种类 */
    private String category;

    /** 日志详情 */
    private String detail;

    /** 日志产生的条件 */
    private String condition;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getBizNo() {
        return bizNo;
    }

    public void setBizNo(String bizNo) {
        this.bizNo = bizNo;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    @Override
    public String toString() {
        return "LogRecord{" +
                "content='" + content + '\'' +
                ", operator='" + operator + '\'' +
                ", bizNo='" + bizNo + '\'' +
                ", category='" + category + '\'' +
                ", detail='" + detail + '\'' +
                ", condition='" + condition + '\'' +
                '}';
    }
}
